
/*这是阿卜杜赛米写的特效*/
body {
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
}


.loader {
    width: 15em;
    height: 15em;
    /*border: 1px dashed white;*/
    font-size: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.5em;
    /*counter-reset: number;*/
    transform: rotate(45deg);
}

.loader span {
    background-color: var(--c);
    position: relative;
animation: blinking 2s linear infinite;
 animation-delay: var(--d);
}
@keyframes blinking {
    0%, 100% {
        transform: scale(0);
    }
    40%, 80% {
        transform: scale(1);
    }
}
/*.loader span::before {*/
/*    counter-increment: number;*/
/*    content: counter(number);*/
/*    color: white;*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    text-align: center;*/
/*    line-height: 3em;*/
/*    transform: rotate(-45deg);*/


.loader span:nth-child(7) {
--c: #ef0808;
 --d:0s;
}

.loader span:nth-child(4),
.loader span:nth-child(8) {
--c: #f1cb05;
    --d:0.2s;
}

.loader span:nth-child(1),
.loader span:nth-child(5),
.loader span:nth-child(9) {
--c: #09e309;
    --d:0.4s;
}

.loader span:nth-child(2),
.loader span:nth-child(6) {
--c: #860dcc;
    --d:0.6s;
}

.loader span:nth-child(3) {
--c: #820ec6;
    --d:0.8s;
}
